<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<p align="center">脱敏算法选择隐藏、置空、随机替换、重排必须填写开始位数和脱敏长度参数为数字。</p>
						<p align="center">脱敏算法选择加盐MD5、手机唯一映射、日期脱敏开始位数和脱敏长度必须填写为“-”。</p>
						<p align="center">脱敏算法选择地址脱敏，开始位数和脱敏长度填写地区级别如省、市、区、县、乡、村。</p>
						<form class="form-horizontal m-t" id="signupForm">
							<input id="maskRuleId" name="maskRuleId" th:value="${maskRule.maskRuleId}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">规则名称：</label>
								<div class="col-sm-8">
									<input id="maskName" name="maskName" th:value="${maskRule.maskName}" class="form-control" type="text" placeholder="必填，限定30个字符">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">脱敏算法：</label>
								<div class="col-sm-8">
									<select id="maskMethod" name="maskMethod" th:value="${maskRule.maskMethod}" class="form-control" type="text"></select>
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">开始位数：</label>
								<div class="col-sm-8">
									<input id="maskStart" name="maskStart" th:value="${maskRule.maskStart}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">脱敏长度：</label>
								<div class="col-sm-8">
									<input id="maskLen" name="maskLen" th:value="${maskRule.maskLen}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/staticmask/maskRule/edit.js">
	</script>
</body>
</html>
